namespace Weever.Json.Serialization
{
    public interface IJsonWriter
    {
        char QuotationChar { get; set;}
        bool QuotateNames { get; set;}

        void WriteName(string name);
        void WriteBeginObject();
        void WriteEndObject();
        void WriteEndProperty();
        void Write(int? value);
        void Write(float? value);
        void Write(double? value);
        void Write(string value);
        void Write(bool? value);
        void WriteNull();
        void WriteBeginArray();
        void WriteEndArray();
    }
}
